package com.huli.feign;

import com.huli.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("server-platform")
public interface BaiduOcrClient {

    @PostMapping("baiduOcr")
    Result baiduOcr(@RequestParam("path") String path);

    @PostMapping("IdCardCheck")
    Result idCardCheck(@RequestParam("url") String url, @RequestParam("type") Integer side);

}
